<!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
    <div class="span12"> 
        <!-- BEGIN PAGE TITLE & BREADCRUMB-->		
        <h3 class="page-title">
            Consultar
            <small>***</small>
        </h3>
        <ul class="breadcrumb">
            <li>
                <i class="icon-home"></i>
                <a href="<?php echo $this->baseUrl; ?>">Inicio</a> 
                <i class="icon-angle-right"></i>
            </li>
            <li>
                <a href="#">Consultar Facultades</a>
            </li>
        </ul>
        <!-- END PAGE TITLE & BREADCRUMB-->
    </div>
</div>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row-fluid">
    <div class="span12">
        <!-- BEGIN EXAMPLE TABLE PORTLET-->
        <div class="portlet box blue">
            <div class="portlet-title">
                <h4><i class="icon-edit"></i>Consultar Facultades</h4>
                <div class="tools">
                    <a href="javascript:;" class="collapse"></a>
                    <a href="javascript:;" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body">
                <div class="clearfix">
                    <div class="btn-group">
                        <a href="<?php echo $this->baseUrl; ?>/Administracion/Superadministrador/crearfacultades" class="btn green" >
                            Crear <i class="icon-plus"></i>
                        </a>
                    </div>
                </div>
                <table class="table table-striped table-hover table-bordered" id="sample_1">
                    <thead>
                        <tr>
                            <th>Código</th>
                            <th>Facultad</th>
                            <th>Dirección</th>
                            <th>Teléfono</th>
                            <!--<th>Editar</th>
                            <th>Eliminar</th>-->
                        </tr>
                    </thead>
                    <tbody>
                        <?php 
                        for ($i = 0; $i < count($this->consulta); $i++) {
                            $arrayTem = $this->consulta[$i];
                            echo '<tr class="">';
                            echo "<td>" . $arrayTem["codigoFacultad"] . "</td> ";
                            echo "<td>" . $arrayTem["nombreFacultad"] ."</td> ";
                            echo "<td>" . $arrayTem["direccionFacultad"] ."</td> ";
                            echo "<td>" . $arrayTem["telefono"] ."</td> ";
                            //echo '<td><a class="edit" href="javascript:;">Editar</a></td>';
                            //echo '<td><a class="delete" href="javascript:;">Eliminar</a></td>';
                            echo '</tr>';
                        }
                        ?>
                    </tbody>
                </table>
            </div>
        </div>
        <!-- END EXAMPLE TABLE PORTLET-->
    </div>
</div>
<!-- END PAGE CONTENT -->